import request from '@/utils/request'

// 查询专业院校关系表列表
export function listSpecialtySchoolRelation(query) {
    return request({
        url: '/system/SpecialtySchoolRelation/list',
        method: 'get',
        params: query
    })
}

// 查询专业院校关系表详细
export function getSpecialtySchoolRelation(id) {
    return request({
        url: '/system/SpecialtySchoolRelation/' + id,
        method: 'get'
    })
}

// 新增专业院校关系表
export function addSpecialtySchoolRelation(data) {
    return request({
        url: '/system/SpecialtySchoolRelation',
        method: 'post',
        data: data
    })
}

// 修改专业院校关系表
export function updateSpecialtySchoolRelation(data) {
    return request({
        url: '/system/SpecialtySchoolRelation',
        method: 'put',
        data: data
    })
}

// 删除专业院校关系表
export function delSpecialtySchoolRelation(id) {
    return request({
        url: '/system/SpecialtySchoolRelation/' + id,
        method: 'delete'
    })
}

// 导出专业院校关系表
export function exportSpecialtySchoolRelation(query) {
    return request({
        url: '/system/SpecialtySchoolRelation/export',
        method: 'get',
        params: query
    })
}